﻿namespace Front;

public partial class Login : Form
{
    public Login()
    {
        InitializeComponent();
    }

    private void Login_Load(object sender, EventArgs e)
    {
        //初始化
        this.checkBox1.Checked = true;
    }

    private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Console.WriteLine(listBox1.SelectedIndex);
    }

    private void checkBox1_CheckedChanged(object sender, EventArgs e)
    {
        // 这里编写复选框状态改变时的逻辑
    }
}